package request

import (
	"gitcode.com/G-YT/ANN/server/model/common/request"
	"time"
)

type PluginUsageStatsSearch struct {
	CreatedAtRange      []time.Time `json:"createdAtRange" form:"createdAtRange[]"`
	UserId              *int        `json:"user_id" form:"user_id"`
	PluginId            *int        `json:"plugin_id" form:"plugin_id"`
	AccessCount         *int        `json:"access_count" form:"access_count"`
	UsageDuration       *int        `json:"usage_duration" form:"usage_duration"`
	LastAccessTimeRange []time.Time `json:"last_access_timeRange" form:"last_access_timeRange[]"`
	StatDateRange       []time.Time `json:"stat_dateRange" form:"stat_dateRange[]"`
	IsActive            *bool       `json:"is_active" form:"is_active"`
	request.PageInfo
	Sort  string `json:"sort" form:"sort"`
	Order string `json:"order" form:"order"`
}
